package org.example.module.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.module.entity.SysUser;

/**
 * 用户mapper
 *
 * @author yinjunwu
 */
@Mapper
public interface SysUserMapper {
    int deleteByUseId(Integer userId);

    int insert(SysUser record);

    SysUser selectByUseId(Integer userId);

    int updateByUseId(SysUser record);

    SysUser selectByUserName(String name);

    SysUser selectByParam(SysUser sysUser);
}